POV-Ray : Newsgroups : povray.binaries.images : WIP :: csgsphere entry 01 : Re: WIP :: csgsphere entry 01 Server Time
2 Aug 2024 10:18:24 EDT (-0400)
  Re: WIP :: csgsphere entry 01  
From: alphaQuad
Date: 9 Sep 2007 14:05:01
Message: <web.46e4350f557ec0ed8e1c63a80@news.povray.org>
Wijnand Nijs <w.n### [at] alf4alldemonnl> wrote:
> Uhhh... I like also the scene (background, lighting etc.) for the
> presentation of objects. Is the source public?

Yah I saw it too, but didnt ask for the domain assistance tossed out around
here.
They cant paste the code or give an actual URL with the code, rant over.


cant find the slick curved one but can do tiles, found this:

http://povray.tashcorp.net/tutorials/irtc_2006_0304/cacop_tiles.pov

made a bottom and back:

#declare units_feet = 1000;

#declare floor_width = 10;
#declare floor_depth = 15;
#declare x_count = 0;
#declare z_count = 0;

#declare tile_floor = union {
        #while (x_count < floor_width )
          #while (z_count < floor_depth )
            superellipsoid {
              <0.02,0.1>
              rotate 90*x
              translate <-1,0,-1>
              scale <.5,.05,.5>
              scale units_feet
              translate <-x_count*units_feet,0,-z_count*units_feet>
              texture {
                pigment { color rgb 0.6 }
                finish { ambient 0.6 diffuse 1.0 }
              }
            }
            #declare z_count = z_count+1;
          #end
          #declare z_count=0;
          #declare x_count=x_count+1;
        #end
        box {
          <0,-.1,0> <-floor_width*units_feet,.565,-floor_depth*units_feet>
          texture {
            pigment { color rgb 1.0 }
            finish {ambient 0.0 diffuse 1.0 }
          }
        }
        translate <0,-500,10000>
        translate 5000*x
        rotate 90*x
        translate <0,0,20000>
        scale <0.97, 0.90, 1>
}

#declare units_feet = 590;

#declare floor_width = 10;
#declare floor_depth = 20;
#declare x_count = 0;
#declare z_count = 0;

#declare tile_floor2 = union {
        #while (x_count < floor_width )
          #while (z_count < floor_depth )
            superellipsoid {
              <0.02,0.1>
              rotate 90*x
              translate <-1,0,-1>
              scale <.5,.05,.5>
              scale units_feet
              translate <-x_count*units_feet,0,-z_count*units_feet>
              texture {
                pigment { color rgb 0.6 }
                finish { ambient 0.2 diffuse 1.0 }
              }
            }
            #declare z_count = z_count+1;
          #end
          #declare z_count=0;
          #declare x_count=x_count+1;
        #end
        box {
          <0,-.1,0> <-floor_width*units_feet,.565,-floor_depth*units_feet>
          texture {
            pigment { color rgb 1.0 }
            finish {ambient 0.0 diffuse 1.0 }
          }
        }
        translate <0,-500,10000>
        translate 2950*x
}
object { tile_floor2}
object { tile_floor }
camera {
location <0, 5, -4860>
angle 15
look_at <0,0,0>
}


(pallet from Txemi Jendrix's image used to rainbowitze the periodic)


Post a reply to this message


Attachments:
Download 'pov-periodic019.png' (320 KB)

Preview of image 'pov-periodic019.png'
pov-periodic019.png


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.